/*
 * Copyright (c) 1994-2017, Joyoung Stock CO.LTD.
 * The FWJR Project.
 * All Rights Reserved.
 */

package com.rest.constant;

import com.rest.BuildConfig;

public class JDConstant {
    public static final boolean isTest = BuildConfig.isTest;

    public static final String HOST = "http://61.175.213.218:9022";

    public static final String YSG_HOST = isTest ? "https://health.pmc-wz.com:20211" : "https://health.pmc-wz.com:20211";

    public static final String IMG_CONSULTATION_HOST = "http://61.175.213.218:9011";

    public static final String BASE_URL = isTest ? "/ysgapp" : "/ysgapp";

    public static final String WEBSOCKET_HOST = isTest ? "wss://health.pmc-wz.com:20211/" : "wss://health.pmc-wz.com:20211/";

    //minio服务器相关域名
    public static String SUBMIT_MINIO = "https://health.pmc-wz.com:20211";//图片上传到minio服务器
    //图片上传到数据库
    public static final String YSG_HOST_MINIO = isTest ? "https://health.pmc-wz.com:20211/" : "https://health.pmc-wz.com:20211/";

    public static final String METHOD_UPLOAD_PAYMENT_FILE_MINIO = "chat/imserver/picture/insertTbresource";//保存图片数据到数据库

    public static final String METHOD_GETPRESIGNEDURL = "chat/imserver/minio/getPresignedUrl";//上传图片到minio第一步

    public static final String METHOD_UPLOAD_PAYMENT_FILE = "/app/picture/uploadFile_webUploader";

    public static final String METHOD_LOGIN = "/app/userDoc/login";

    public static final String METHOD_UPDATE_PASSWORD = "/app/userDoc/passwd";

    public static final String METHOD_GET_REFERRAL_BASE_LIST = "/referral/queryReferralBaseDoctorList";

    public static final String METHOD_GET_REFERRAL_PROFESSOR_LIST = "/referral/queryReferralProfessorList";

    public static final String METHOD_GET_CONSULATION_BASE_LIST = "/cons/queryConsultationList";

    public static final String METHOD_GET_CONSULATION_DETAIL = "/cons/queryConsultationInfoMobile";

    public static final String METHOD_GET_CONSULATION_HISTORY_BASE_LIST = "/history/queryBaseConsulationListHistory";

    public static final String METHOD_GET_CONSULATION_HISTORY_PRO_LIST = "/history/queryProConsulationListHistory";

    public static final String METHOD_GET_REFERRAL_HISTORY_BASE_LIST = "/history/queryBaseReferralListHistory";

    public static final String METHOD_GET_REFERRAL_HISTORY_PRO_LIST = "/history/queryProReferralListHistory";

    public static final String METHOD_FEEDBACK = "/cons/addFeedback";

    public static final String METHOD_GET_HOSPITAL = "/cons/queryHospital";

    public static final String METHOD_GET_DEPARTMENT = "/cons/queryDept";

    public static final String METHOD_GET_DOCTOR = "/cons/queryDoctor";

    public static final String METHOD_GET_HOSPITAL_CONSULTATION = "/cons/queryHospital";

    public static final String METHOD_GET_DEPARTMENT_CONSULTATION = "/cons/queryDept";

    public static final String METHOD_GET_DOCTOR_CONSULTATION = "/cons/queryDoctor";

    public static final String METHOD_GET_SCHEDULE_DATE = "/referral/queryScheDt";

    public static final String METHOD_GET_TIME = "/referral/queryTime";

    public static final String METHOD_QUERY_BY_ID_CARD = "/cons/queryPatientInfoByIdCard";

    public static final String METHOD_ADD_REFERRAL = "/referral/addReferral";

    public static final String METHOD_ADD_CONSULTATION = "/cons/addConsultationMobile";

    public static final String METHOD_EDIT_CONSULTATION = "/cons/editConsultationMobile";

    public static final String METHOD_GET_USERINFO = "/app/userDoc/getDocInfo";
    public static final String METHOD_SAVE_USERINFO = "/app/userDoc/changeDocInfo";

    public static final String METHOD_DOWNLOAD_PIC = "/picture/picDownload";

    public static final String METHOD_EDIT_DOCTOR_STATUS = "/cons/editConsDoctorStatus";

    public static final String METHOD_ADD_MEETING = "/ysx/addMeeting";

    public static final String METHOD_GET_MEETING = "/ysx/queryValidMeeting";

    public static final String METHOD_DEL_MEETING = "/ysx/delMeeting";

    public static final String METHOD_SAVE_CONSULTATION = "/cons/saveMedConsultationMobile";

    public static final String METHOD_START_CONSULTATION = "/cons/startMedConsultationMobile";

    public static final String METHOD_GET_DIAGNOSE_ID = "/cons/getDiagnoseId";

    public static final String METHOD_SET_DIAGNOSE_ID = "/cons/setDiagnoseId";

    public static final String METHOD_GET_IMAGE_CONSULTATION = "/pacs/app/basDocList";

    public static final String MEHTOD_GET_KAYI_URL = "/pacs/pasc/getShowKaYiUrlForApp";

    public static final String MEHTOD_GET_YJ_CONSULTATION = "/pacs/app/cenDocDiagAndTrigeList";

    public static final String METHOD_AGREE_CONSULTATION = "/pacs/app/acceptOrReject";

    public static final String METHOD_GET_KAYI_YJ_URL = "/pacs/pasc/getKaYiUrlForApp";

    public static final String METHOD_GET_MESSAGE_CODE = "/app/userPatient/sendSms";

    public static final String METHOD_REGISTER = "/app/userPatient/register";

    public static final String METHOD_QUERY_IM_LIST = "/app/consultation/queryPatientList";

    public static final String METHOD_QUERY_HISTORY_IM_LIST = "/app/consultation/queryHistoryPatientList";

    public static final String METHOD_GET_DEPARTMENT_LIST = "/app/newConsultation/deptNameLists";

    public static final String METHOD_GET_DOCTOR_LIST = "/app/newConsultation/doctorInfoLists";

    public static final String METHOD_GET_REGISTRATION_DETAIL = "/app/hisPatientState/queryPatientState";

    public static final String METHOD_GET_CHAT_LIST = "/app/consultation/queryImRecordList";

    public static final String METHOD_SAVE_PATIENT_STATE = "/app/hisPatientState/savePatientState";

    public static final String METHOD_SEND_MEETING_ID = "/app/video/sendConferenceId";

    public static final String METHOD_START_MEETING = "/app/video/createConference";
    public static final String SAVE_MEETING = "/app/video/saveMeeting";

    public static final String METHOD_GET_CHECK_LIST = "/app/checkList";

    public static final String METHOD_GET_PRESCRIPTION = "/app/prescription/queryPrescriptionInfoApp";

    public static final String DEL_PRESCRIPTION = "/app/prescription/delPrescription";

    public static final String METHOD_PRESCRIPTION_LIST = "/app/prescription/queryPrescription";

    public static final String METHOD_CHECK = "/app/check";

    public static final String METHOD_MOULD_LIST = "/app/prescriptionModelPage";


    public static final String METHOD_GET_DIC_LIST = "/app/sheard/dictLists";

    public static final String METHOD_SAVE_PRESCRIPTION_MODEL = "/app/savePrescriptionModel";

    public static final String METHOD_GET_PRESCRIPTION_MODEL = "/app/prescriptionModelInfo";

    public static final String METHOD_SAVE_PRESCRIPTION = "/app/prescription/savePrescription";
//    public static final String METHOD_SAVE_PRESCRIPTION = "/app/prescription/savePrescriptionV2";

    public static final String METHOD_REFUSE_PRESCRIPTION = "/app/consultation/queryPassPrescriptionList";

    public static final String METHOD_FINISH_DIAGNOSE = "/app/consultation/updateDiagnoseApp";

    public static final String METHOD_GET_SICK_LIST = "/app/outpatientCloud/queryListByHelpCode";

    public static final String METHOD_ACCEPT_CONSULTATION = "/app/findDoctor/isAcceptConsultation";

    public static final String METHOD_GET_MINE_INFO = "/app/findDoctor/doctorDetail";

    public static final String METHOD_ACCEPT_DIAGNOSE = "/app/consultation/whetherAcceptDiagnose";

    public static final String METHOD_GET_DOC_INFO = "/app/userDoc/myDate";

    public static final String METHOD_GET_DOC_COUNT_STATUES = "/app/prescription/rejectCount";

    public static final String METHOD_GET_GROUP_LIST = "/app/category/groupList";

    public static final String METHOD_GET_PATIENT_INFO = "/app/category/patientInfo";

    public static final String METHOD_GET_GROUP_INFO_LIST = "/app/category/categoryList";

    public static final String METHOD_ADD_GROUP = "/app/category/addGroup";

    public static final String METHOD_DEL_GROUP = "/app/category/delGroup";

    public static final String METHOD_UPDATE_PATIENT_GROUP = "/app/category/updatePatientCategory";

    public static final String METHOD_UPDATE_TOP = "/app/consultation/updateIsTop";

    public static final String METHOD_GET_TEAM_LIST = "/app/doctorTeam/doctorTeamList";

    public static final String METHOD_TEAM_DETAIL = "/app/doctorTeam/teamDetail";

    public static final String METHOD_GET_DOCTOR_BY_NAME = "/app/findDoctor/doctorInfoByName";

    public static final String METHOD_UPDATE_UMENG_DEVICE = "/app/userDoc/updateUserPush";

    public static final String METHOD_ADD_TEAM_MEMBER = "/app/doctorTeam/modifyDoctorTeamMember";

    public static final String METHOD_DEL_TEAM_MEMBER = "/app/doctorTeam/delDoctorTeamMember";

    public static final String METHOD_UPDATE_TEAM_DETAIL = "/app/doctorTeam/saveDoctorTeam";

    public static final String METHOD_FINISH_MEETING = "/app/video/removeConference";

    public static final String METHOD_GET_RECORD = "/app/category/historyDiagnoseList";

    public static final String METHOD_DIAGNOSE_ORDER_DETAIL = "/app/consultation/endDiagnoseInfo";

    public static final String METHOD_DEL_MOULD = "/app/delModel";

    public static final String METHOD_QUERYPROTOCOL = "/app/protocol/queryProtocol";


    public static final String METHOD_BACK_PRESCRIPTION = "/app/changePrescription";

    public static final String METHOD_SAVE_CASE = "/app/savePatientMedhisInfoByTemplate4App";

    public static final String METHOD_GET_CASE = "/app/medical/queryPatientInfo4App";

    public static final String METHOD_CHANGE_FLAG = "/app/outpatientCloud/changeOutpFlag";

    public static final String METHOD_GET_VERSION = "/app/userPatient/getVision";

    public static final String METHOD_UPLOAD_VIDEO = "/chat/imserver/picture/videoUpload";

    public static final String METHOD_GET_MEDICINE_ORDER_DETAIL = "/app/order/preOrderDetail";

    /**
     * 开处方选药品接口
     */
    public static final String METHOD_GET_MEDICINE_LIST = "/app/sheard/westernSearch";//药品列表
    public static final String METHOD_GET_MEDICINE_DETAIL = "/app/prescription/queryWesternById";//查询药品详情
    public static final String METHOD_QUERYROUTEANDSITEBYID = "/app/prescription/queryRouteAndSiteById";//查询药品默认信息（频率和途径）
    public static final String METHOD_QUERYPRICE = "/app/prescription/queryPrice";//计算单个药品开出的价格
    /**
     * 云门诊
     */
    public static final String METHOD_GET_CLOUD_LIST = "/app/outpatientCloud/outpatientCloudDoctorApp"; //云门诊列表
    public static final String METHOD_SENDSMS = "/app/userDoc/sendSms"; //根据门诊id发送验证码

    public static final String METHOD_GET_PATIENT_ACCOUNT = "/app/video/getPatUserAccount";
    /**
     * 护士业务接口
     */
    public static final String METHOD_WAITLISTCOUNT = "/app/appointmentDoc/waitListCount";//待接单数量
    public static final String METHOD_ORDERLISTCOUNT = "/app/appointmentDoc/orderListCount";//已接单数量
    public static final String METHOD_MYSCHEDULE = "/app/appointmentDoc/mySchedule";//我的日程
    public static final String METHOD_ADDCONTAC = "/app/naEmergencyContact/addContact";//保存紧急联系人
    public static final String METHOD_FINDCONTACT = "/app/naEmergencyContact/findContact";//紧急联系人详情
    public static final String METHOD_ONEKEYALARM = "/app/appointmentDoc/oneKeyAlarm";//一键警报
    public static final String METHOD_CURRENTPATIENTLIST = "/app/appointmentDoc/currentPatientList";//当前患者列表
    public static final String METHOD_CANCELFORDOC = "/app/patient/appointment/cancelForDoc";//护士取消订单
    public static final String METHOD_UPDATEDOCSETOUT = "/app/appointmentDoc/updateDocSetOut";//出发与结束护理
    public static final String METHOD_ORDERLIST = "/app/appointmentDoc/orderList";//已接单列表
    public static final String METHOD_WAITLIST = "/app/appointmentDoc/waitList";//待接单列表
    public static final String METHOD_APPOINTMENTDETAIL = "/app/patient/appointment/detail";//患者预约项目详情
    public static final String METHOD_UPDATEFORORDER = "/app/appointmentDoc/updateForOrder";//接单or拒绝接单
    public static final String METHOD_HISORDERLIST = "/app/appointmentDoc/hisOrderList";//历史订单
    public static final String METHOD_ORDERDONECOUNT = "/app/appointmentDoc/orderDoneCount";//已完成数量
    public static final String METHOD_CANCELCOUNT = "/app/appointmentDoc/cancelCount";//已取消数量
    public static final String METHOD_ITEMLIST = "/app/patient/project/itemList";//耗材项目列表
    public static final String METHOD_ADDCONSUMABLES = "/app/consumables/addConsumables";//添加额外耗材
    public static final String METHOD_CANCELCONSUMABLES = "/app/consumables/cancelConsumables";//取消耗材
    public static final String METHOD_UPDATETIME = "/app/patient/appointment/updateTime";//更新预约时间

    //查询用户信息 实名认证和签名状态
    public static final String METHOD_QUERY_SIGN_STATUS = "/app/electronicignature/userInfo";
    //用户签名
    public static final String METHOD_USER_SIGNATURE = "/app/electronicignature/userSignature";
    //处方审核状态
    public static final String METHOD_PRESCRIPTION_STATUS = "/app/hisPrescriptionWesternExamine/examineDetail";
    //错误4继续提交
    public static final String METHOD_SUBMIT_PRESCRIPTION_SECOND = "/app/prescription/prescriptionSecond";
    //查询授权状态接口
    public static final String METHOD_AUTH_GET_OAUTH_STATUS = "/app/electronicignature/authGetOauthStatus";
    //身份授权接口
    public static final String METHOD_AUTH_OAUTH = "/app/electronicignature/authOauth";
    //企业微信授权登陆
    public static final String METHOD_LOGIN_BYQYWX = "/app/userDoc/loginByQywx";
    //药品列表搜索
    public static final String METHOD_WESTERN_SEARCH = "/app/western/westernSearch";
    //忘记密码工号手机验证
    public static final String METHOD_VALIDATE_INFO2PASS = "/app/userDoc/validateInfo2pass";
    //修改密码
    public static final String METHOD_USERDOC_EDIT_PASSWORD = "/app/userDoc/editPass";
    //退款
    public static final String METHOD_PAY_REFUND = "/app/pay/wechat/payRefund";
    //咨询订单
    public static final String CONSULT_ORDER = "/app/nurse/getCountOfOrderStatus";
    //咨询订单列表数据
    public static final String CONSULT_ORDER_LIST = "/app/nurse/findNurseConsultList";
    //咨询订单详情
    public static final String CONSULT_ORDER_DETAIL = "/app/nurse/detail";
    //结束咨询订单
    public static final String CONSULT_ORDER_FINISH = "/app/nurse/finishConsult";
    //接受咨询订单
    public static final String ACCEPT_CONSULT_ORDER = "/app/nurse/orderReceiving";
    //拒绝咨询订单
    public static final String REFUSE_CONSULT_ORDER = "/app/nurse/refuseOrder";
    //咨询订单退费
    public static final String CONSULT_ORDER_REFUND = "/app/nurse/returnPremium";

    public static final String METHOD_ELECTRONIC_SIGNATURE = "/electronicignature/signPdfByPdfFileIdAndChapterFileId";
    /**
     * 医技开单业务相关接口
     */
    public static final String METHOD_JC_LIST = "/app/jy/jc/list";
    public static final String METHOD_JY_LIST = "/app/jy/jy/list";
    public static final String METHOD_CREATE_BILLING = "/app/jy/create";
    public static final String METHOD_CHECKOUT_DETAIL = "/app/jy/detail/{id}";
    public static final String METHOD_CHANGE_STATUS = "/app/jy/changeStatus/{id}/{type}";


}
